Timm Bäder [Thu, 4 May 2017 06:09:44 +0000 (08:09 +0200)]
progressbar: Remove gadget
Timm Bäder [Thu, 4 May 2017 06:05:11 +0000 (08:05 +0200)]
range: Remove gadget usage
Timm Bäder [Thu, 4 May 2017 05:56:15 +0000 (07:56 +0200)]
grid: Remove gadget
Timm Bäder [Thu, 4 May 2017 05:52:14 +0000 (07:52 +0200)]
box: Remove gadget usage
Keep the gadget member in the private struct around for now so
GtkButtonBox doesn't break terribly.
Timm Bäder [Thu, 4 May 2017 05:40:42 +0000 (07:40 +0200)]
widget: Union clip with allocation and box shadow size
Timm Bäder [Wed, 3 May 2017 20:22:49 +0000 (22:22 +0200)]
switch: Remove gadget
Timm Bäder [Wed, 3 May 2017 20:16:47 +0000 (22:16 +0200)]
listbox: Remove gadgets
Timm Bäder [Wed, 3 May 2017 17:45:33 +0000 (19:45 +0200)]
widget: Pass content allocation to size-allocate vfunc
Timm Bäder [Wed, 3 May 2017 17:44:52 +0000 (19:44 +0200)]
headerbar: Remove gadget
both drawing and sizing are done through GtkWidget now.
Timm Bäder [Thu, 18 May 2017 10:16:35 +0000 (12:16 +0200)]
sizerequest: Fix min size with widget margins
Timm Bäder [Thu, 18 May 2017 08:11:54 +0000 (10:11 +0200)]
sizerequest: Stop checking orientation in query_size_for_orientation
Since we have ->measure now, we can implement this code more elegantly.
Timm Bäder [Thu, 18 May 2017 07:43:32 +0000 (09:43 +0200)]
sizerequest: Remove for_size parameter from push_recursion_check
It's not needed anymore after also fixing the warning message to not
mention the old get_preferred* functions.
Timm Bäder [Mon, 15 May 2017 12:38:22 +0000 (14:38 +0200)]
sizerequest: Make sure widget sizes stay positive
They can otherwise become negative, e.g. when large negative css
margins are applied.
Timm Bäder [Sat, 6 May 2017 12:05:30 +0000 (14:05 +0200)]
sizerequest: Make size groups "work"
We have to query the css margin/border/padding values for all widgets
in the size group.
Timm Bäder [Sat, 6 May 2017 08:02:03 +0000 (10:02 +0200)]
sizerequest: Move css handling to gtk_widget_measure
We need to adjust the passed for_size to fit into the content allocation
of the widget.
That also means that we can't call gtk_widget_measure(widget) inside
gtk_widget_measure(widget) since now the for_size will be adjusted
twice.
Timm Bäder [Wed, 3 May 2017 17:23:35 +0000 (19:23 +0200)]
sizerequest: Honor css min size
Timm Bäder [Wed, 3 May 2017 16:50:19 +0000 (18:50 +0200)]
sizerequest: Fix indentation
Timm Bäder [Wed, 3 May 2017 09:43:47 +0000 (11:43 +0200)]
scrolledwindow: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 09:37:31 +0000 (11:37 +0200)]
paned: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 09:37:20 +0000 (11:37 +0200)]
separator: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 09:33:37 +0000 (11:33 +0200)]
stack: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 09:31:18 +0000 (11:31 +0200)]
combobox: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 09:21:29 +0000 (11:21 +0200)]
notebook: Fix crash when dragging a tab
gtk_gesture_get_last_event can return NULL, so guard against that.
Timm Bäder [Wed, 3 May 2017 09:19:23 +0000 (11:19 +0200)]
toolbar: Remove css box rendering
Timm Bäder [Wed, 3 May 2017 09:16:38 +0000 (11:16 +0200)]
actionbar: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 09:14:28 +0000 (11:14 +0200)]
Remove now useless snapshot implementations
Timm Bäder [Wed, 3 May 2017 09:11:20 +0000 (11:11 +0200)]
widget: Add default snapshot implementation
gtk_widget_snapshot will snapshot the css box, the default snapshot
vfunc now gtk_widget_snapshot_child's all child widgets.
Timm Bäder [Wed, 3 May 2017 09:11:06 +0000 (11:11 +0200)]
container: Remove snapshot and draw implementations
Timm Bäder [Wed, 3 May 2017 08:52:37 +0000 (10:52 +0200)]
bbox: Remove css box drawing
Whether we are in expand mode or not shouldn't really make a difference
for rendering anyway.
Timm Bäder [Wed, 3 May 2017 08:44:18 +0000 (10:44 +0200)]
image: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:34:30 +0000 (10:34 +0200)]
frame: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:31:24 +0000 (10:31 +0200)]
switch: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:29:02 +0000 (10:29 +0200)]
flowbox: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:24:55 +0000 (10:24 +0200)]
listbox: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:24:43 +0000 (10:24 +0200)]
headerbar: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:24:32 +0000 (10:24 +0200)]
widget: Draw focus outline
Timm Bäder [Wed, 3 May 2017 08:19:29 +0000 (10:19 +0200)]
progressbar: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:19:17 +0000 (10:19 +0200)]
label: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:18:55 +0000 (10:18 +0200)]
gtkgrid: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:18:41 +0000 (10:18 +0200)]
gizmo: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:18:28 +0000 (10:18 +0200)]
box: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:17:58 +0000 (10:17 +0200)]
Widget: Disable css box drawing for GtkWindow
Until we know how we solve that.
Timm Bäder [Wed, 3 May 2017 08:03:59 +0000 (10:03 +0200)]
button: Remove css box drawing
Timm Bäder [Wed, 3 May 2017 08:03:24 +0000 (10:03 +0200)]
widget: Draw background and border for every widget
Matthias Clasen [Thu, 20 Jul 2017 01:18:57 +0000 (21:18 -0400)]
Bump version
Matthias Clasen [Thu, 20 Jul 2017 00:45:52 +0000 (20:45 -0400)]
Avoid compiler warnings
Initialize these variables, so gcc doesn't complain.
Matthias Clasen [Wed, 19 Jul 2017 13:16:13 +0000 (09:16 -0400)]
3.91.1
Matthias Clasen [Wed, 19 Jul 2017 19:45:51 +0000 (15:45 -0400)]
a11y tests: Update expected results
The license urls in the about dialog changed.
Carlos Garnacho [Wed, 19 Jul 2017 18:57:04 +0000 (20:57 +0200)]
testsuite: Adjust gestures tests to gtk4 event delivery
Events that get to gtk_main_do_event() have the toplevel GdkWindow
as event->any.window. Also, ensure that coordinates fall within
sensible places of the windows, since those might have shadows,
headerbars and whatnot on wayland.
Carlos Garnacho [Wed, 19 Jul 2017 16:13:47 +0000 (18:13 +0200)]
gtkwindow: Free pointer foci on dispose
That means the whole hierarchy is getting destroyed, leaving those
behind incurs not only in a leak, but also on weak refs (and unintended
repick) to happen in the wrong moment.
Carlos Garnacho [Wed, 19 Jul 2017 16:12:53 +0000 (18:12 +0200)]
gtkwindow: Do not leak GtkPointerFocus
gtk_window_add_pointer_focus() increments the refcount, which means
the caller should be dropping its own.
John Ralls [Tue, 18 Jul 2017 21:42:26 +0000 (14:42 -0700)]
Fix compile error in imquartz.c due to API change in GtkIMContext.
John Ralls [Tue, 18 Jul 2017 21:47:25 +0000 (14:47 -0700)]
Fix MacOS compiler warnings.
John Ralls [Tue, 18 Jul 2017 18:15:12 +0000 (11:15 -0700)]
Copy gtk_clipboard_get_default implementation to gtkclipboard-quartz.c
Fixes bug 784323.
Philip Chimento [Thu, 3 Nov 2016 06:37:29 +0000 (23:37 -0700)]
quartz: Implement gtk_clipboard_get_selection
This function is trivial and can be copied from the X11 implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=772281
Emmanuele Bassi [Tue, 18 Jul 2017 21:50:57 +0000 (22:50 +0100)]
meson: Add missing source file
The newly added gtkfilechoosererrorstack.c source needs to be included
in the Meson build as well as the Autotools one.
Piotr Drąg [Tue, 18 Jul 2017 20:03:29 +0000 (22:03 +0200)]
Update POTFILES.in
Timm Bäder [Tue, 9 May 2017 07:52:00 +0000 (09:52 +0200)]
filechooserwidget: Add GtkFileChooserErrorStack
Showing all the different errors and warnings when renaming and creating
files/folders without potentially resizing popovers on every keystroke
requires us to know the size of the error messages beforehand, so pack
all of the possible error messages and warnings in labels and those into
a stack. This way we can also neatly crossfade transition between them.
https://bugzilla.gnome.org/show_bug.cgi?id=775636
Timm Bäder [Sat, 4 Feb 2017 09:49:43 +0000 (10:49 +0100)]
filechooserwidget: Let the rename entry hexpand
This makes a difference with other locals where error messages are
longer than the standard width of entry+spacing+button.
https://bugzilla.gnome.org/show_bug.cgi?id=775636
Iñaki García Etxebarria [Sat, 29 Apr 2017 11:08:49 +0000 (13:08 +0200)]
Add nullable return annotation to gtk_text_mark_get_name
https://bugzilla.gnome.org/show_bug.cgi?id=781936
Iñaki García Etxebarria [Sat, 29 Apr 2017 11:08:26 +0000 (13:08 +0200)]
Add nullable return annotation to gtk_notebook_get_tab_label
https://bugzilla.gnome.org/show_bug.cgi?id=781935
Daniel Aleksandersen [Fri, 14 Jul 2017 01:19:47 +0000 (03:19 +0200)]
Update the URLs of known licenses to HTTPS
Use HTTPS by default for security/privacy. Avoids slow redirects.
https://bugzilla.gnome.org/show_bug.cgi?id=766517
Arun Raghavan [Thu, 13 Jul 2017 05:55:11 +0000 (11:25 +0530)]
gtkapplication: Mark gtk_application_get_active_window() as nullable
https://bugzilla.gnome.org/show_bug.cgi?id=784888
Piotr Drąg [Tue, 18 Jul 2017 17:43:09 +0000 (19:43 +0200)]
Update POTFILES.in
Matthias Clasen [Tue, 18 Jul 2017 17:35:21 +0000 (13:35 -0400)]
Add gtkfilechoosernativequart.c to meson build
We have two build systems now, for good measure.
Tom Schoonjans [Thu, 13 Jul 2017 19:07:22 +0000 (20:07 +0100)]
GtkFileChooserNativeWin32: add support for get_filter and set_filter
https://bugzilla.gnome.org/show_bug.cgi?id=784723
Tom Schoonjans [Thu, 13 Jul 2017 19:03:55 +0000 (20:03 +0100)]
testgtk.c: native file chooser filter changes
Set the filter before showing the dialog
Afterwards, fetch the last active filter and display its name.
https://bugzilla.gnome.org/show_bug.cgi?id=784723
Tom Schoonjans [Thu, 13 Jul 2017 19:01:38 +0000 (20:01 +0100)]
GtkFileChooserNativeQuartz: add support for get_filter and set_filter
https://bugzilla.gnome.org/show_bug.cgi?id=784723
Tom Schoonjans [Sun, 9 Jul 2017 17:04:06 +0000 (18:04 +0100)]
GtkFileChooserNative: documentation updated
https://bugzilla.gnome.org/show_bug.cgi?id=784723
Tom Schoonjans [Sun, 9 Jul 2017 16:06:12 +0000 (17:06 +0100)]
GtkFileChooserNativeQuartz: add support for filters
Includes:
* Simple glob patterns (*.ext, *.*,...)
* MIME types
* pixbuf formats
https://bugzilla.gnome.org/show_bug.cgi?id=784723
Tom Schoonjans [Tue, 4 Jul 2017 07:07:09 +0000 (08:07 +0100)]
GtkFileChooserNativeQuartz: add partial support for extra widget
When the extra widget is a GtkLabel, then its text will be displayed as
a message in the NSSavePanel or NSOpenPanel
https://bugzilla.gnome.org/show_bug.cgi?id=784723
Tom Schoonjans [Mon, 3 Jul 2017 11:54:39 +0000 (12:54 +0100)]
GtkFileChooserNativeQuartz: add support for GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
Which is via NSOpenPanel, not NSSavePanel...
https://bugzilla.gnome.org/show_bug.cgi?id=784723
Tom Schoonjans [Fri, 30 Jun 2017 20:34:05 +0000 (21:34 +0100)]
GtkFilechooserNative: add macOS support
Based on the Win32 implementation, as well as the macOS file chooser
from
https://github.com/GNOME/gedit/blob/master/gedit/gedit-file-chooser-dialog-osx.[ch]
Not fully tested yet, but working properly so far.
TODO: filter support, extra widget (label), documentation...
https://bugzilla.gnome.org/show_bug.cgi?id=784723
Emmanuele Bassi [Sun, 16 Jul 2017 11:33:24 +0000 (12:33 +0100)]
Drop gtk-doc trigraphs on GtkTextView enumeration
The glib-mkenums tool does not recognise these gtk-doc annotations.
Jordi Mas [Sat, 15 Jul 2017 07:37:29 +0000 (09:37 +0200)]
Fixes to Catalan translation
Bastien Nocera [Wed, 5 Jul 2017 21:01:26 +0000 (23:01 +0200)]
image: Warn when attempting to load pixdata GResources
GdkPixdata is deprecated. Warn when the application tries to load
pixdata embedded resources. The application developer will have to
remove the "to-pixdata" keyword from the GResource definition file.
https://bugzilla.gnome.org/show_bug.cgi?id=781583
Emmanuele Bassi [Tue, 11 Jul 2017 10:39:59 +0000 (11:39 +0100)]
Use newer glib-genmarshal to simplify build rules
The glib-genmarshal tool from GLib 2.54 added various command line
arguments that allow us to remove a bunch of as hoc manipulations of
the generated marshaller source files. The marshal generator tool can
now include an header in the source, and undef the G_ENABLE_DEBUG
pre-processor symbol for us. It can also generate the prototypes of the
marshallers in the C source, and avoid a 'missing-prototypes' compiler
warning.
Yosef Or Boczko [Mon, 10 Jul 2017 09:52:20 +0000 (12:52 +0300)]
Updated Hebrew translation
Yosef Or Boczko [Mon, 10 Jul 2017 09:50:11 +0000 (12:50 +0300)]
Updated Hebrew translation
Matthias Clasen [Sun, 2 Jul 2017 00:14:15 +0000 (20:14 -0400)]
Avoid a race in the print portal
Same as the previous commit; use the new predictable request
object path to connect to the Response signal early.
Matthias Clasen [Sat, 1 Jul 2017 23:13:03 +0000 (19:13 -0400)]
Avoid a race in the file chooser portal
Use the new predictable request object path and connect
to the Response signal before issuing the portal call.
This avoids a race that is pretty unlikely to hit in
the filechooser case.
Daniel Boles [Fri, 7 Jul 2017 07:13:41 +0000 (08:13 +0100)]
label: Remove extra quote in code example
Daniel Boles [Thu, 6 Jul 2017 13:03:08 +0000 (14:03 +0100)]
GdkRGBA: Fix misspelt parameter names in docs
Daniel Boles [Thu, 6 Jul 2017 12:59:53 +0000 (13:59 +0100)]
GdkRGBA: Fix typo precentage => percentage
Jason Gerecke [Tue, 27 Jun 2017 21:21:05 +0000 (14:21 -0700)]
x11: Assign GDK_SOURCE_TABLET_PAD when necessary
Wacom tablets often have a "pad" device which houses multiple buttons. At
present, these devices are incorrectly marked as GDK_SOURCE_PEN which can
cause problems for some software.
https://bugzilla.gnome.org/show_bug.cgi?id=782040
Daniel Boles [Thu, 22 Jun 2017 22:56:44 +0000 (23:56 +0100)]
css-overview: Don’t document deleted pseudoclasses
Commit
b52966a318a26589b26598be9cda1628c04db3ff stopped the parser from
handling various deprecated pseudoclasses, which were aliases of others,
but it did not update the documentation to reflect that they were gone.
Daniel Boles [Thu, 22 Jun 2017 19:40:06 +0000 (20:40 +0100)]
css-overview: Fix typo “{with=>which} is disabled”
Baurzhan Muftakhidinov [Thu, 22 Jun 2017 14:32:27 +0000 (14:32 +0000)]
Update Kazakh translation
Marek Cernocky [Tue, 20 Jun 2017 12:33:39 +0000 (14:33 +0200)]
Updated Czech translation
Daniel Mustieles [Mon, 19 Jun 2017 15:36:06 +0000 (17:36 +0200)]
Updated Spanish translation
Carlos Garnacho [Fri, 16 Jun 2017 16:21:34 +0000 (18:21 +0200)]
gdk: Set vid/pid on wayland tablets
This was missed so far... Use %.4x format, in order to behave just
the same than X11.
Will Thompson [Thu, 15 Jun 2017 14:53:18 +0000 (15:53 +0100)]
headerbar: fix "widow" typo in docs
Kjartan Maraas [Wed, 14 Jun 2017 05:48:33 +0000 (07:48 +0200)]
Updated Norwegian bokmål translation
Debarshi Ray [Tue, 13 Jun 2017 09:06:50 +0000 (11:06 +0200)]
GtkActionHelper: Remove unnecessary NULL check
This NULL check has existed since commit
652f16dd985dbc1b, when
GtkActionHelper was first introduced, but so has the assertion at the
top to ensure the validity of 'widget'.
https://bugzilla.gnome.org/show_bug.cgi?id=783587
Debarshi Ray [Fri, 9 Jun 2017 10:15:53 +0000 (12:15 +0200)]
GtkActionHelper: Allow a NULL action-name to unset the previous GAction
https://bugzilla.gnome.org/show_bug.cgi?id=783587
Matthias Clasen [Tue, 13 Jun 2017 17:09:56 +0000 (13:09 -0400)]
file chooser: Don't pass NULL as title to the portal
This causes critical warnings.
Chun-wei Fan [Mon, 12 Jun 2017 10:14:57 +0000 (18:14 +0800)]
gtk/Makefile.am: Fix 'make dist'
We don't have gtkcenterboxprivate.h anymore, as it became a public
header...
Piotr Drąg [Sun, 11 Jun 2017 14:57:47 +0000 (16:57 +0200)]
Update POTFILES.in
Matthias Clasen [Sun, 11 Jun 2017 14:35:06 +0000 (10:35 -0400)]
label: Provide a baseline in all cases
The label measuring code was only determining baselines
when the label was set to wrap, which does not seem right.
Non-wrapping labels have a meaningful baseline as well,
report it back.
Matthias Clasen [Sat, 10 Jun 2017 18:45:10 +0000 (14:45 -0400)]
center box: Take baseline-position fully into account
We need to take baseline-position into account during measure
as well.